<%@ page language="java" contentType="text/html" pageEncoding="UTF-8"%>
<%@ taglib prefix='c' uri='http://java.sun.com/jstl/core_rt'%>
<%@ page
	import="org.springframework.security.core.AuthenticationException"%>
<%@ page
	import="org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter"%>
<%@ page
	import="org.springframework.security.web.authentication.UsernamePasswordAuthenticationFilter"%>

<!DOCTYPE HTML>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Appointment Manager</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="">
<META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW">
<!-- Remove this Robots Meta Tag, to allow indexing of site -->

<link href="<c:url value='/site/bootstrap/css/bootstrap.min.css'/>"
	rel="stylesheet" type="text/css">
<link
	href="<c:url value='/site/bootstrap/css/bootstrap-responsive.min.css'/>"
	rel="stylesheet" type="text/css">

    <!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
    <!--[if lt IE 9]>
      <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->

    <!-- Icons -->
	<link
	href="<c:url value='/site/scripts/icons/general/stylesheets/general_foundicons.css'/>"
	media="screen" rel="stylesheet" type="text/css" />
	<link
	href="<c:url value='/site/scripts/icons/social/stylesheets/social_foundicons.css'/>"
	media="screen" rel="stylesheet" type="text/css" />
	<!--[if lt IE 8]>
        <link href="../site/scripts/icons/general/stylesheets/general_foundicons_ie7.css" media="screen" rel="stylesheet" type="text/css" />
        <link href="../site/scripts/icons/social/stylesheets/social_foundicons_ie7.css" media="screen" rel="stylesheet" type="text/css" />
    <![endif]-->
    <link rel="stylesheet" type="text/css"
	href="<c:url value='/site/scripts/fontawesome/css/font-awesome.min.css'/>">
    <!--[if IE 7]>
        <link rel="stylesheet" href="../../site/scripts/fontawesome/css/font-awesome-ie7.min.css">
    <![endif]-->

    <link href="http://fonts.googleapis.com/css?family=Allura" rel="stylesheet" type="text/css">
    <link href="http://fonts.googleapis.com/css?family=Aldrich" rel="stylesheet" type="text/css">
    <link href="http://fonts.googleapis.com/css?family=Open+Sans" rel="stylesheet" type="text/css">
    <link href="http://fonts.googleapis.com/css?family=Open+Sans" rel="stylesheet" type="text/css">
    <link href="http://fonts.googleapis.com/css?family=Pacifico" rel="stylesheet" type="text/css">
    <link href="http://fonts.googleapis.com/css?family=Calligraffitti" rel="stylesheet" type="text/css">

    <link href="<c:url value='/site/styles/custom.css'/>" rel="stylesheet"
	type="text/css" />
</head>

<script type="text/javascript">//<![CDATA[
			function submitSignupform(){
				document.getElementById("signup").submit();
			}
			function submitSigninform(){
				document.getElementById("signin").submit();
			}
	//]]>
</script>

<body id="pageBody">

<div id="decorative2">
    <div class="container">

        <div class="divPanel topArea notop nobottom">
            <div class="row-fluid">
                <div class="span12">

                    <div id="divLogo" class="pull-left">
                        <a href="login.html" id="divSiteTitle">Appointment Manager</a><br />
                        <a href="login.html" id="divTagLine">Online web-based appointment manager</a>
                    </div>
<form id="signup" action="<c:url value='/signup' /> " method="POST"></form>
<form id="signin" action="<c:url value='/signin' /> " method="POST"></form>
                    <div id="divMenuRight" class="pull-right">
                    <div class="navbar">
                        <button type="button" class="btn btn-navbar-highlight btn-large btn-primary" data-toggle="collapse" data-target=".nav-collapse">
                            NAVIGATION <span class="icon-chevron-down icon-white"></span>
                        </button>
                        <div class="nav-collapse collapse">
                            <ul class="nav nav-pills ddmenu">
                                <li class="dropdown active"><a href="login.html">Home</a></li>
								<!-- <li class="dropdown"><a href="about.html">Log in</a></li> -->
                                <li class="dropdown">
                                    <a href="page.html" class="dropdown-toggle">Access<b class="caret"></b></a>
                                    <ul class="dropdown-menu">
                            <li><a href="signin.html">Sign in</a></li>
                            <li><a href="signup.html">Sign up</a></li>
							</ul>
                                </li>
                                <!-- <li class="dropdown"><a href="gallery.html">Gallery</a></li> -->
                                <!-- <li class="dropdown"><a href="contact.php">Contact</a></li> -->
                            </ul>
                        </div>
                    </div>
                    </div>

                </div>
            </div>
        </div>

    </div>
</div>

<div id="contentOuterSeparator"></div>

<div class="container">

    <div class="divPanel page-content">

        <div class="breadcrumbs">
                <a href="login.html">Home</a> &nbsp;/&nbsp; <span>Sign up</span>
            </div> 

        <div class="row-fluid" align="center">
                <div>
					<div>	      
                    <h3>Sign in</h3>
					<form id="signin" name="f"
					action="<c:url value='j_spring_security_check' />" method="post">
					<table style="border: hidden">
						<tr>
							<td style="border-bottom: medium hidden; border-right: medium hidden;padding-top:5px">
								<p>Email:<br /><input class="input-xlarge" placeholder="Enter email" style="color: rgb(0, 0, 0);" name="j_username" type="text"></p>
							</td>
						</tr>
						<tr>
							<td style="border-right: medium hidden; border-bottom: medium hidden; padding-top:5px">
								<p>Password:<br /><input class="input-xlarge" placeholder="Enter password" style="color: rgb(0, 0, 0);" name="j_password" type="password"></p>
							</td>
						</tr>
						<c:choose>
						<c:when test="${error}">
							<tr>
								<td style="border-right: hidden; color:white" colspan="3">
									<p style="color: green">Your login attempt was not successful, please try again !</p>
								</td>
							</tr>
						</c:when>
						</c:choose>
						<tr>
							<td style="vertical-align: bottom; border-bottom: hidden">
								<input type="submit" class="btn btn-primary btn-large" value="Sign in" />
							</td>
						</tr>
						
					</table>
				</form>
            </div>
            </div>
</div>
        <div id="footerInnerSeparator"></div>
    </div>

</div>

<div id="footerOuterSeparator"></div>

<div id="divFooter" class="footerArea">

    <div class="container">

        <div class="divPanel">

            <div class="row-fluid">
                <div class="span3" id="footerArea1">
                
                    <h3>About Company</h3>

                    <p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry’s standard dummy text ever since the 1500s.</p>
                    
                    <p> 
                        <a href="#" title="Terms of Use">Terms of Use</a><br />
                        <a href="#" title="Privacy Policy">Privacy Policy</a><br />
                        <a href="#" title="FAQ">FAQ</a><br />
                        <a href="#" title="Sitemap">Sitemap</a>
                    </p>

                </div>
                <div class="span3" id="footerArea2">

                    <h3>Recent Blog Posts</h3> 
                    <p>
                        <a href="#" title="">Lorem Ipsum is simply dummy text</a><br />
                        <span style="text-transform:none;">2 hours ago</span>
                    </p>
                    <p>
                        <a href="#" title="">Duis mollis, est non commodo luctus</a><br />
                        <span style="text-transform:none;">5 hours ago</span>
                    </p>
                    <p>
                        <a href="#" title="">Maecenas sed diam eget risus varius</a><br />
                        <span style="text-transform:none;">19 hours ago</span>
                    </p>
                    <p>
                        <a href="#" title="">VIEW ALL POSTS</a>
                    </p>

                </div>
                <div class="span3" id="footerArea3">

                    <h3>Sample Content</h3> 
                    <p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry’s standard dummy text ever since the 1500s. 
                        Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry’s standard dummy text ever since the 1500s.
                    </p>

                </div>
                <div class="span3" id="footerArea4">

                    <h3>Get in Touch</h3>  
                                                               
                    <ul id="contact-info">
                    <li>                                    
                        <i class="general foundicon-phone icon"></i>
                        <span class="field">Phone:</span>
                        <br />
                        (123) 456 7890 / 456 7891                                                                      
                    </li>
                    <li>
                        <i class="general foundicon-mail icon"></i>
                        <span class="field">Email:</span>
                        <br />
                        <a href="mailto:info@yourdomain.com" title="Email">info@yourdomain.com</a>
                    </li>
                    <li>
                        <i class="general foundicon-home icon" style="margin-bottom:50px"></i>
                        <span class="field">Address:</span>
                        <br />
                        123 Street<br />
                        12345 City, State<br />
                        Country
                    </li>
                    </ul>

                </div>
            </div>

            <br /><br />
            <div class="row-fluid">
                <div class="span12">
                    <p class="copyright">
                        Copyright © 2013 Your Company. All Rights Reserved.
                    </p>

                    <p class="social_bookmarks">
                        <a href="#"><i class="social foundicon-facebook"></i> Facebook</a>
			<a href=""><i class="social foundicon-twitter"></i> Twitter</a>
			<a href="#"><i class="social foundicon-pinterest"></i> Pinterest</a>
			<a href="#"><i class="social foundicon-rss"></i> Rss</a>
                    </p>
                </div>
            </div>
            <br />

        </div>

    </div>
    
</div>

<script src="<c:url value='/site/scripts/jquery.min.js' />"
		type="text/javascript"></script>
	<script
		src="<c:url value='/site/scripts/bootstrap/js/bootstrap.min.js' />"
		type="text/javascript"></script>
	<script src="<c:url value='/site/scripts/default.js' />"
		type="text/javascript"></script>


<script type="text/javascript">$('.ttip').tooltip();</script>
</body>
</html>